<div class="extend-foot">
  <div class="feed_lists clearfix" id="feed-lists">
    <php>$cancomment=intval(CheckPermission('core_normal','feed_comment'));</php>
    <volist name="list.data" id="vl">
      <php>$cancomment_old=empty($vl['app_row_id']) ? 0 : 1;</php>
      <dl class="feed_list" id="feed{$vl.feed_id}" model-node="feed_list">
        <dt class="face">
          <a href="{$vl['user_info']['space_url']}"><img src="{$vl['user_info']['avatar_small']}"  event-node="face_card" uid='{$vl['user_info']['uid']}'></a>
        </dt>
        <dd class="content">
        <span event-node="show_admin" event-args="feed_id={$vl['feed_id']}&uid={$vl['user_info']['uid']}&feed_del={:CheckPermission('core_admin','feed_del')}&channel_recommend={:CheckPermission('channel_admin','channel_recommend')}" href="javascript:;" class="right f12 f9 hover" style="display:none;cursor:pointer">管理</span>
        <eq name="vl.is_del" value="0">
        <p class="hd"><space uid="vl.user_info.uid">{uname}</space>
        <php>if(in_array($vl['user_info']['uid'],$followUids)):</php>
        {:W('Remark',array('uid'=>$vl['user_info']['uid'],'remark'=>$remarkHash[$vl['user_info']['uid']],'showonly'=>1))}
        <php>endif;</php>
        </p>
        <span class="contents">{$vl.body|format=true}</span>

        <p class="info">
          <span class="right">
            <php>if(in_array('repost',$weibo_premission) && $vl['actions']['repost'] && CheckPermission('core_normal','feed_share')):</php>
            <php>$sid=!empty($vl['app_row_id']) ? $vl['app_row_id'] : $vl['feed_id'];$cancomment_old = in_array($vl['type'],$cancomment_old_type) ? 1 : 0;</php>
            {:W('Share',array('sid'=>$sid,'stable'=>$vl['app_row_table'],'initHTML'=>'','current_table'=>'feed','current_id'=>$vl['feed_id'],'nums'=>$vl['repost_count'],'appname'=>$vl['app'],'cancomment'=>$cancomment_old,'feed_type'=>$vl['type'],'is_repost'=>$vl['is_repost']))}
            <i class="vline">|</i>
            <php>endif;</php>

            <eq name='vl.actions.favor' value='true'>
            {:W('Collection',array('type'=>$type,'sid'=>$vl['feed_id'],'stable'=>'feed','sapp'=>$vl['app']))}
            </eq>

            <php>if(in_array('comment',$weibo_premission) && $vl['actions']['comment']):</php>
            <i class="vline">|</i>
            <a event-node="comment" href="javascript:void(0)" event-args='row_id={$vl.feed_id}&app_uid={$vl.uid}&app_row_id={$vl.app_row_id}&to_comment_id=0&to_uid=0&app_name={$vl.app}&table=feed&cancomment={$cancomment}&cancomment_old={$cancomment_old}'>{:L('PUBLIC_STREAM_COMMENT')}<neq name='vl.comment_count' value='0'> ({$vl.comment_count}) </neq></a>
            <php>endif;</php>
          </span>
          <span>
            <a class="date" href="{:U('public/Profile/feed',array('feed_id'=>$vl['feed_id'],'uid'=>$vl['uid']))}">{$vl.publish_time|friendlyDate}</a>
            <span>{$vl['from']|getFromClient}</span>

            <em class="hover">
            <php>if($vl['actions']['delete'] && $vl['user_info']['uid'] == $GLOBALS['ts']['mid']):</php>
            <a href="javascript:void(0)" event-node ='delFeed' event-args='feed_id={$vl.feed_id}&uid={$vl.user_info.uid}'>{:L('PUBLIC_STREAM_DELETE')}</a>
            <php>endif;</php>
            <php>if($vl['user_info']['uid'] != $GLOBALS['ts']['mid'] && CheckPermission('core_normal','feed_report')):</php>
            <a href="javascript:void(0)" event-node='denounce' event-args='aid={$vl.feed_id}&type=feed&uid={$vl.user_info.uid}'>{:L('PUBLIC_STREAM_REPORT')}</a>
            <php>endif;</php>
            </em>
          </span>
        </p>
        <div model-node="comment_detail" class="repeat clearfix" style="display:none;"></div>
        <else />
        <p>{:L('PUBLIC_INFO_ALREADY_DELETE_TIPS')}</p>
        <p class="info">
        <eq name='vl.actions.favor' value='true'>
        {:W('Collection',array('type'=>$type,'sid'=>$vl['feed_id'],'stable'=>'feed','sapp'=>$vl['app']))}
        </eq>
      </p>
      </eq> 
      </dd>
    </dl>
    </volist>
    <div class="page">{$list.html}</div>
  </div>
</div>

<script type="text/javascript" src="__APP__/channel.js"></script>
<script type="text/javascript" src="__THEME__/js/module.weibo.js"></script>